<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

require_once APPLICATION_PATH . '/models/Single/BaseEntity.php';
require_once APPLICATION_PATH . '/models/Mapper/PaisesMapper.php';
require_once APPLICATION_PATH . '/models/DbTable/Paises.php';

/**
 * Description of PaisEntity
 *
 * @author kristian
 */
class Spalm_Model_Single_PaisEntity extends Spalm_Model_Single_BaseEntity{
    protected $_nombre;

    public function  __construct() {
        $this->setMapper(new Spalm_Model_Mapper_PaisesMapper(new Spalm_Model_DbTable_Paises()));
    }

    public function setNombre($nombre){
        $this->_nombre = $nombre;
    }

    public function getNombre(){
        return $this->_nombre;
    }

    public function getProvincias() {
        ;
    }
}
?>
